<template>
    <view class="contact">
        <view class="rows">
            <u-parse :content="copyrightText" :domain="imgUrl"></u-parse>
        </view>
        <view class="row j-centert h6" :style="{ background: bgColor ? bgColor : 'transparent', color: color }" @click="toUrl(`/userPage/user/contactus`)">慕格科技提供技术支持</view>
    </view>
</template>

<script>
    import { mapState } from 'vuex';
    export default {
        name: 'contact',
        props: {
            bgColor: String,
            color: {
                type: String,
                default: '#999999'
            }
        },
        data() {
            return {
                imgUrl: this.imgUrl
            };
        },
        computed: {
            ...mapState(['copyrightText'])
        }
    };
</script>

<style lang="scss">
    .contact {
        padding: 50rpx 0 30rpx 0;
    }
</style>
